import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

public class TestRemoveAll {
    public static void main(String[] args) {

        List<Map<String,Object>> re1 = new ArrayList<>();
        Map<String,Object> tem1 = new HashMap<>();

        tem1.put("tableName","table1");
        tem1.put("name","19192511");
        re1.add(tem1);

        List<Map<String,Object>> re2 = new ArrayList<>();
        Map<String,Object> tem2 = new HashMap<>();

        tem2.put("tableName","table2");
        tem2.put("name","19192513");
        re2.add(tem2);
        Map<String,Object> tem3 = new HashMap<>();
        tem3.put("tableName","table3");
        tem3.put("name","19192514");
        re2.add(tem3);
        re1.add(tem2);



//       re1.removeAll(re2);
//        System.out.println(re1);
        re2.removeAll(re1);
        System.out.println(re2);
    }
}
